package ru.fadeev.crammer;

/**
 * IndexerTask class represents task for creating phrase-word index. 
 * Tasks are stored in GFIndicesStorage.  
 * GFIndexer gets these tasks and create index by information contained in
 * IndexerTask object.
 * @author Konstantin Fadeyev
 *
 */
public class IndexerTask {
	protected String text;
	protected boolean inserted;
	
	/**
	 * @return the text
	 */
	protected String getText() {
		return text;
	}
	
	/**
	 * @param text the text to set
	 */
	protected void setText(String text) {
		this.text = text;
	}
	
	/**
	 * @return the inserted
	 */
	protected boolean isInserted() {
		return inserted;
	}
	
	/**
	 * @param inserted the inserted to set
	 */
	protected void setInserted(boolean inserted) {
		this.inserted = inserted;
	}
}
